package com.hyk.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hyk.domain.SysRoleMenu;
import com.hyk.mapper.SysRoleMenuMapper;
import com.hyk.service.SysRoleMenuService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SysRoleMenuServiceImpl extends ServiceImpl<SysRoleMenuMapper, SysRoleMenu> implements SysRoleMenuService{

    @Resource
    private SysRoleMenuMapper sysRoleMenuMapper;

    @Override
    public void removeByRoleId(String roleId) {
        sysRoleMenuMapper.removeByRoleId(roleId);
    }
}
